403Webshell
Server IP : 198.38.84.71  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux 198-38-84-71.cprapid.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : vyaparmandaljobn ( 1020)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/vyaparmandaljobn/public_html/wp-content/themes/essentials/woocommerce/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/vyaparmandaljobn/public_html/wp-content/themes/essentials/woocommerce/content-product.php
<?php
/**
 * The template for displaying product content within loops
 *
 * pixfort version
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce/Templates
 * @version 3.6.0
 */

defined( 'ABSPATH' ) || exit;

global $product;

// Ensure visibility.
if ( empty( $product ) || ! $product->is_visible() ) {
	return;
}

$item_style = pix_get_option('shop-item-style');

if(!empty($_GET["shop_style"])){
    switch ($_GET["shop_style"]) {
        case 'default':
            $item_style = 'default';
            break;
        case 'default-no-padding':
            $item_style = 'default-no-padding';
            break;
        case 'top-img':
            $item_style = 'top-img';
            break;
        case 'top-img-no-padding':
            $item_style = 'top-img-no-padding';
            break;
        case 'full-img':
            $item_style = 'full-img';
            break;
    }
}

if(!empty($GLOBALS['item_style'])){
    if($GLOBALS['item_style']!='theme'){
        $item_style = $GLOBALS['item_style'];
    }
}

if($item_style=='default-no-padding'){
    get_template_part( 'woocommerce/pixfort/product-default-no-padding' );
}elseif($item_style=='top-img'){
    get_template_part( 'woocommerce/pixfort/product-top-img' );
}elseif($item_style=='top-img-no-padding'){
    get_template_part( 'woocommerce/pixfort/product-top-img-no-padding' );
}elseif($item_style=='full-img'){
    get_template_part( 'woocommerce/pixfort/product-full-img' );
}else{
    get_template_part( 'woocommerce/pixfort/product-default' );
}

Youez - 2016 - github.com/yon3zu
LinuXploit